hat - chat directly, character card is your prompt
instruct- chat between "you" and "assistant" using the model's prompt format
chat-instruct- chat with you and a character card as a prompt but with the instruct template applied. .i.e "you are an AI playing x character, respond as the character would" converted to alpaca, wizard or whatever
There is no best, but for factual information, you probably want to keep to instruct mode. instruct-chat doesn't necessarily play the characters better or make them write longer. It's sort of hit or miss. one may work better than the other for a particular model and prompt.
How computationally optimized prompts make language models excel, and how this all affects prompt engineering
Distilling key points after >2 years of experience and from AI developers’ own tutorials, hands-on and with examples.
simple example of how to use retrievers and LLMs for question answering with sources(opens in a new tab)